<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <button>
        跳百度
    </button>
</body>
<script>

    document.querySelector("button").onclick=function(){

        window.location.href="http://baidu.com?maijiajiu=jiajiu";

    }
</script>
</html>